<div class="admin-panel-wrap">
    <div class="icon32 icon-options-general">
        <br/>
    </div>
    <h2>zpool create</h2>
    <{if $execMessage}>
    <div id="execMessage" class="updated fade" style="background-color: rgb(255, 251, 204);">
        <{section name=line loop=$execMessage}>
        <p>
            <strong><{$execMessage[line]}></strong>
        </p>
        <{/section}>
    </div>
    <{else}>
    <{/if}>
    <form action="" method="post">    
        <table class="form-table">
            <tbody>
                <tr valign="top">
                    <th scope="row">
                        <label>pool name</label>
                    </th>
                    <td>
                        <input class="regular-text" type="text" name="pool_name" id="pool_name" value=""/>
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        <label>pool type</label>
                    </th>
                    <td>
                        <select name="pool_type">
			    <option value=' '>stripe(default)</option>
			    <option value='mirror'>mirror</option>
			    <option value'raidz'>raidz</option>
                        </select>
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        <label>Disks</label>
                    </th>
                    <td>
			<select name="disk1">
				<{foreach from=$diskName item=disk}>
                            	<option value="<{$disk}>"><{$disk}></option>
                            	<{/foreach}>
                        </select>
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                    </th>
                    <td>
			<select name="disk2">
                                <option value=""></option>
				<{foreach from=$diskName item=disk}>
                            	<option value="<{$disk}>"><{$disk}></option>
                            	<{/foreach}>
                        </select>
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                    </th>
                    <td>
			<select name="disk3">
                                <option value=""></option>
				<{foreach from=$diskName item=disk}>
                            	<option value="<{$disk}>"><{$disk}></option>
                            	<{/foreach}>
                        </select>
                    </td>
                </tr>
                
            </tbody>
        </table>
        <p class="submit">
            <input class="button-primary" type="submit" value="Create!" name="Submit"/>
        </p>
    </form>
</div>
